package com.yl.pattern.structuralmodel.adapter.object_adapter.class_adapter;

/**
 * @Author 小羊
 * @Date 30/10/2024下午 8:35
 * @ClassName Computer
 * @Description 电脑类
 */
public class Computer {
    public String readSD(SdCard sdCard) {
        if(sdCard == null) {
            throw new NullPointerException("sd card null");
        }
        return sdCard.readSd();
    }
}
